﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.LearningTrain.PendingLearningVehicle
{
    /// <summary>
    ///  待培训
    /// </summary>
    [Table("PendingLearningVehicle")]
    public class PendingLearningVehicleEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 待培训id
        /// </summary>
        public long PendingLearningVehicleId { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public long? CompanyId { get; set; }
        /// <summary>
        /// 司机id
        /// </summary>
        public long DriverId { get; set; }
        /// <summary>
        /// 是否通知
        /// </summary>
        public bool IsNotifyPayment { get; set; }
        /// <summary>
        /// 通知时间
        /// </summary>
        public DateTime? NotifyTime { get; set; }
        /// <summary>
        /// 是否缺席
        /// </summary>
        public bool IsAbsenteeism { get; set; }
        /// <summary>
        /// 是否曾经缺席
        /// </summary>
        public bool IsOnceAbsenteeism { get; set; }
        /// <summary>
        /// 培训安排记录id
        /// </summary>
        public long? VehicleTrainingScheduleRecordId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
